#
# Kbuild for sensor
#
ifeq ($(CONFIG_SENSOR_BRIGATES_BG0808), y)
    KBUILD_DEFINES += -DSENSOR_BRIGATES_BG0808
endif

ifeq ($(CONFIG_SENSOR_BYD_BF2253L), y)
    KBUILD_DEFINES += -DSENSOR_BYD_BF2253L
endif

ifeq ($(CONFIG_SENSOR_CVSENS_CV4001), y)
    KBUILD_DEFINES += -DSENSOR_CVSENS_CV4001
endif

ifeq ($(CONFIG_SENSOR_GCORE_GC02M1), y)
    KBUILD_DEFINES += -DSENSOR_GCORE_GC02M1
endif

ifeq ($(CONFIG_SENSOR_GCORE_GC0312), y)
    KBUILD_DEFINES += -DSENSOR_GCORE_GC0312
endif

ifeq ($(CONFIG_SENSOR_GCORE_GC0329), y)
    KBUILD_DEFINES += -DSENSOR_GCORE_GC0329
endif

ifeq ($(CONFIG_SENSOR_GCORE_GC1054), y)
    KBUILD_DEFINES += -DSENSOR_GCORE_GC1054
endif

ifeq ($(CONFIG_SENSOR_GCORE_GC1084), y)
    KBUILD_DEFINES += -DSENSOR_GCORE_GC1084
endif

ifeq ($(CONFIG_SENSOR_GCORE_GC1084_SLAVE), y)
    KBUILD_DEFINES += -DSENSOR_GCORE_GC1084_SLAVE
endif

ifeq ($(CONFIG_SENSOR_GCORE_GC2053), y)
    KBUILD_DEFINES += -DSENSOR_GCORE_GC2053
endif

ifeq ($(CONFIG_SENSOR_GCORE_GC2053_SLAVE), y)
    KBUILD_DEFINES += -DSENSOR_GCORE_GC2053_SLAVE
endif

ifeq ($(CONFIG_SENSOR_GCORE_GC2053_1L), y)
    KBUILD_DEFINES += -DSENSOR_GCORE_GC2053_1L
endif

ifeq ($(CONFIG_SENSOR_GCORE_GC2083), y)
    KBUILD_DEFINES += -DSENSOR_GCORE_GC2083
endif

ifeq ($(CONFIG_SENSOR_GCORE_GC2093), y)
    KBUILD_DEFINES += -DSENSOR_GCORE_GC2093
endif

ifeq ($(CONFIG_SENSOR_GCORE_GC2093_SLAVE), y)
    KBUILD_DEFINES += -DSENSOR_GCORE_GC2093_SLAVE
endif

ifeq ($(CONFIG_SENSOR_GCORE_GC2145), y)
    KBUILD_DEFINES += -DSENSOR_GCORE_GC2145
endif

ifeq ($(CONFIG_SENSOR_GCORE_GC4023), y)
    KBUILD_DEFINES += -DSENSOR_GCORE_GC4023
endif

ifeq ($(CONFIG_SENSOR_GCORE_GC4653), y)
    KBUILD_DEFINES += -DSENSOR_GCORE_GC4653
endif

ifeq ($(CONFIG_SENSOR_GCORE_GC4653_SLAVE), y)
    KBUILD_DEFINES += -DSENSOR_GCORE_GC4653_SLAVE
endif

ifeq ($(CONFIG_SENSOR_IMGDS_MIS2008), y)
    KBUILD_DEFINES += -DSENSOR_ID_MIS2008
endif

ifeq ($(CONFIG_SENSOR_NEXTCHIP_N5), y)
    KBUILD_DEFINES += -DSENSOR_NEXTCHIP_N5
endif

ifeq ($(CONFIG_SENSOR_NEXTCHIP_N6), y)
    KBUILD_DEFINES += -DSENSOR_NEXTCHIP_N6
endif

ifeq ($(CONFIG_SENSOR_OV_OS02D10), y)
    KBUILD_DEFINES += -DSENSOR_OV_OS02D10
endif

ifeq ($(CONFIG_SENSOR_OV_OS02D10_SLAVE), y)
    KBUILD_DEFINES += -DSENSOR_OV_OS02D10_SLAVE
endif

ifeq ($(CONFIG_SENSOR_OV_OS02K10_SLAVE), y)
    KBUILD_DEFINES += -DSENSOR_OV_OS02K10_SLAVE
endif

ifeq ($(CONFIG_SENSOR_OV_OS04A10), y)
    KBUILD_DEFINES += -DSENSOR_OV_OS04A10
endif

ifeq ($(CONFIG_SENSOR_OV_OS04C10), y)
    KBUILD_DEFINES += -DSENSOR_OV_OS04C10
endif

ifeq ($(CONFIG_SENSOR_OV_OS04C10_SLAVE), y)
    KBUILD_DEFINES += -DSENSOR_OV_OS04C10_SLAVE
endif

ifeq ($(CONFIG_SENSOR_OV_OS08A20), y)
    KBUILD_DEFINES += -DSENSOR_OV_OS08A20
endif

ifeq ($(CONFIG_SENSOR_OV_OS08A20_SLAVE), y)
    KBUILD_DEFINES += -DSENSOR_OV_OS08A20_SLAVE
endif

ifeq ($(CONFIG_SENSOR_OV_OV4689), y)
    KBUILD_DEFINES += -DSENSOR_OV_OV4689
endif

ifeq ($(CONFIG_SENSOR_OV_OV5647), y)
    KBUILD_DEFINES += -DSENSOR_OV_OV5647
endif

ifeq ($(CONFIG_SENSOR_OV_OV6211), y)
    KBUILD_DEFINES += -DSENSOR_OV_OV6211
endif

ifeq ($(CONFIG_SENSOR_OV_OV7251), y)
    KBUILD_DEFINES += -DSENSOR_OV_OV7251
endif

ifeq ($(CONFIG_SENSOR_PICO_384), y)
    KBUILD_DEFINES += -DSENSOR_PICO_384
endif

ifeq ($(CONFIG_SENSOR_PICO_640), y)
    KBUILD_DEFINES += -DSENSOR_PICO_640
endif

ifeq ($(CONFIG_SENSOR_PIXELPLUS_PR2020), y)
    KBUILD_DEFINES += -DSENSOR_PIXELPLUS_PR2020
endif

ifeq ($(CONFIG_SENSOR_PIXELPLUS_PR2100), y)
    KBUILD_DEFINES += -DSENSOR_PIXELPLUS_PR2100
endif

ifeq ($(CONFIG_SENSOR_SMS_SC035GS), y)
    KBUILD_DEFINES += -DSENSOR_SMS_SC035GS
endif

ifeq ($(CONFIG_SENSOR_SMS_SC035GS_1L), y)
    KBUILD_DEFINES += -DSENSOR_SMS_SC035GS_1L
endif

ifeq ($(CONFIG_SENSOR_SMS_SC035HGS), y)
    KBUILD_DEFINES += -DSENSOR_SMS_SC035HGS
endif

ifeq ($(CONFIG_SENSOR_SMS_SC035HGS_1L), y)
    KBUILD_DEFINES += -DSENSOR_SMS_SC035HGS_1L
endif

ifeq ($(CONFIG_SENSOR_SMS_SC1336_1L), y)
    KBUILD_DEFINES += -DSENSOR_SMS_SC1336_1L
endif

ifeq ($(CONFIG_SENSOR_SMS_SC1346_1L), y)
    KBUILD_DEFINES += -DSENSOR_SMS_SC1346_1L
endif

ifeq ($(CONFIG_SENSOR_SMS_SC1346_1L_SLAVE), y)
    KBUILD_DEFINES += -DSENSOR_SMS_SC1346_1L_SLAVE
endif

ifeq ($(CONFIG_SENSOR_SMS_SC200AI), y)
    KBUILD_DEFINES += -DSENSOR_SMS_SC200AI
endif

ifeq ($(CONFIG_SENSOR_SMS_SC301IOT), y)
    KBUILD_DEFINES += -DSENSOR_SMS_SC301IOT
endif

ifeq ($(CONFIG_SENSOR_SMS_SC401AI), y)
    KBUILD_DEFINES += -DSENSOR_SMS_SC401AI
endif

ifeq ($(CONFIG_SENSOR_SMS_SC500AI), y)
    KBUILD_DEFINES += -DSENSOR_SMS_SC500AI
endif

ifeq ($(CONFIG_SENSOR_SMS_SC501AI_2L), y)
    KBUILD_DEFINES += -DSENSOR_SMS_SC501AI_2L
endif

ifeq ($(CONFIG_SENSOR_SMS_SC531AI_2L), y)
    KBUILD_DEFINES += -DSENSOR_SMS_SC531AI_2L
endif

ifeq ($(CONFIG_SENSOR_SMS_SC850SL), y)
    KBUILD_DEFINES += -DSENSOR_SMS_SC850SL
endif

ifeq ($(CONFIG_SENSOR_SMS_SC3332), y)
    KBUILD_DEFINES += -DSENSOR_SMS_SC3332
endif

ifeq ($(CONFIG_SENSOR_SMS_SC3335), y)
    KBUILD_DEFINES += -DSENSOR_SMS_SC3335
endif

ifeq ($(CONFIG_SENSOR_SMS_SC3335_SLAVE), y)
    KBUILD_DEFINES += -DSENSOR_SMS_SC3335_SLAVE
endif

ifeq ($(CONFIG_SENSOR_SMS_SC3336), y)
    KBUILD_DEFINES += -DSENSOR_SMS_SC3336
endif

ifeq ($(CONFIG_SENSOR_SMS_SC3336P), y)
    KBUILD_DEFINES += -DSENSOR_SMS_SC3336P
endif

ifeq ($(CONFIG_SENSOR_SMS_SC2331_1L), y)
    KBUILD_DEFINES += -DSENSOR_SMS_SC2331_1L
endif

ifeq ($(CONFIG_SENSOR_SMS_SC2331_1L_SLAVE), y)
    KBUILD_DEFINES += -DSENSOR_SMS_SC2331_1L_SLAVE
endif

ifeq ($(CONFIG_SENSOR_SMS_SC2331_1L_SLAVE1), y)
    KBUILD_DEFINES += -DSENSOR_SMS_SC2331_1L_SLAVE1
endif

ifeq ($(CONFIG_SENSOR_SMS_SC2335), y)
    KBUILD_DEFINES += -DSENSOR_SMS_SC2335
endif

ifeq ($(CONFIG_SENSOR_SMS_SC2336), y)
    KBUILD_DEFINES += -DSENSOR_SMS_SC2336
endif

ifeq ($(CONFIG_SENSOR_SMS_SC2336_SLAVE), y)
    KBUILD_DEFINES += -DSENSOR_SMS_SC2336_SLAVE
endif

ifeq ($(CONFIG_SENSOR_SMS_SC2336_SLAVE1), y)
    KBUILD_DEFINES += -DSENSOR_SMS_SC2336_SLAVE1
endif

ifeq ($(CONFIG_SENSOR_SMS_SC2336_1L), y)
    KBUILD_DEFINES += -DSENSOR_SMS_SC2336_1L
endif

ifeq ($(CONFIG_SENSOR_SMS_SC2336P), y)
    KBUILD_DEFINES += -DSENSOR_SMS_SC2336P
endif

ifeq ($(CONFIG_SENSOR_SMS_SC223A_1L), y)
    KBUILD_DEFINES += -DSENSOR_SMS_SC223A_1L
endif

ifeq ($(CONFIG_SENSOR_SMS_SC4210), y)
    KBUILD_DEFINES += -DSENSOR_SMS_SC4210
endif

ifeq ($(CONFIG_SENSOR_SMS_SC4336), y)
    KBUILD_DEFINES += -DSENSOR_SMS_SC4336
endif

ifeq ($(CONFIG_SENSOR_SMS_SC4336P), y)
    KBUILD_DEFINES += -DSENSOR_SMS_SC4336P
endif

ifeq ($(CONFIG_SENSOR_SMS_SC5336_2L), y)
    KBUILD_DEFINES += -DSENSOR_SMS_SC5336_2L
endif

ifeq ($(CONFIG_SENSOR_SMS_SC8238), y)
    KBUILD_DEFINES += -DSENSOR_SMS_SC8238
endif

ifeq ($(CONFIG_SENSOR_SOI_F23), y)
    KBUILD_DEFINES += -DSENSOR_SOI_F23
endif

ifeq ($(CONFIG_SENSOR_SOI_F35), y)
    KBUILD_DEFINES += -DSENSOR_SOI_F35
endif

ifeq ($(CONFIG_SENSOR_SOI_F35_SLAVE), y)
    KBUILD_DEFINES += -DSENSOR_SOI_F35_SLAVE
endif

ifeq ($(CONFIG_SENSOR_SOI_F37P), y)
    KBUILD_DEFINES += -DSENSOR_SOI_F37P
endif

ifeq ($(CONFIG_SENSOR_SOI_H65), y)
    KBUILD_DEFINES += -DSENSOR_SOI_H65
endif

ifeq ($(CONFIG_SENSOR_SOI_K06), y)
    KBUILD_DEFINES += -DSENSOR_SOI_K06
endif

ifeq ($(CONFIG_SENSOR_SOI_Q03), y)
    KBUILD_DEFINES += -DSENSOR_SOI_Q03
endif

ifeq ($(CONFIG_SENSOR_SOI_Q03P), y)
    KBUILD_DEFINES += -DSENSOR_SOI_Q03P
endif

ifeq ($(CONFIG_SENSOR_SONY_IMX290_2L), y)
    KBUILD_DEFINES += -DSENSOR_SONY_IMX290_2L
endif

ifeq ($(CONFIG_SENSOR_SONY_IMX307), y)
    KBUILD_DEFINES += -DSENSOR_SONY_IMX307
endif

ifeq ($(CONFIG_SENSOR_SONY_IMX307_SLAVE), y)
    KBUILD_DEFINES += -DSENSOR_SONY_IMX307_SLAVE
endif

ifeq ($(CONFIG_SENSOR_SONY_IMX307_2L), y)
    KBUILD_DEFINES += -DSENSOR_SONY_IMX307_2L
endif

ifeq ($(CONFIG_SENSOR_SONY_IMX307_SUBLVDS), y)
    KBUILD_DEFINES += -DSENSOR_SONY_IMX307_SUBLVDS
endif

ifeq ($(CONFIG_SENSOR_SONY_IMX327), y)
    KBUILD_DEFINES += -DSENSOR_SONY_IMX327
endif

ifeq ($(CONFIG_SENSOR_SONY_IMX327_SLAVE), y)
    KBUILD_DEFINES += -DSENSOR_SONY_IMX327_SLAVE
endif

ifeq ($(CONFIG_SENSOR_SONY_IMX327_2L), y)
    KBUILD_DEFINES += -DSENSOR_SONY_IMX327_2L
endif

ifeq ($(CONFIG_SENSOR_SONY_IMX327_FPGA), y)
    KBUILD_DEFINES += -DSENSOR_SONY_IMX327_FPGA
endif

ifeq ($(CONFIG_SENSOR_SONY_IMX327_SUBLVDS), y)
    KBUILD_DEFINES += -DSENSOR_SONY_IMX327_SUBLVDS
endif

ifeq ($(CONFIG_SENSOR_SONY_IMX327_10BIT), y)
    KBUILD_DEFINES += -DSENSOR_SONY_IMX327_10BIT
endif

ifeq ($(CONFIG_SENSOR_SONY_IMX334), y)
    KBUILD_DEFINES += -DSENSOR_SONY_IMX334
endif

ifeq ($(CONFIG_SENSOR_SONY_IMX335), y)
    KBUILD_DEFINES += -DSENSOR_SONY_IMX335
endif

ifeq ($(CONFIG_SENSOR_SONY_IMX347), y)
    KBUILD_DEFINES += -DSENSOR_SONY_IMX347
endif

ifeq ($(CONFIG_SENSOR_SONY_IMX385), y)
    KBUILD_DEFINES += -DSENSOR_SONY_IMX385
endif

ifeq ($(CONFIG_SENSOR_TECHPOINT_TP2850), y)
    KBUILD_DEFINES += -DSENSOR_TECHPOINT_TP2850
endif

ifeq ($(CONFIG_SENSOR_TECHPOINT_TP2825), y)
    KBUILD_DEFINES += -DSENSOR_TECHPOINT_TP2825
endif

ifeq ($(CONFIG_SENSOR_TECHPOINT_TP2863), y)
    KBUILD_DEFINES += -DSENSOR_TECHPOINT_TP2863
endif

ifeq ($(CONFIG_SENSOR_VIVO_MCS369Q), y)
    KBUILD_DEFINES += -DSENSOR_VIVO_MCS369Q
endif

ifeq ($(CONFIG_SENSOR_VIVO_MCS369), y)
    KBUILD_DEFINES += -DSENSOR_VIVO_MCS369
endif

ifeq ($(CONFIG_SENSOR_VIVO_MM308M2), y)
    KBUILD_DEFINES += -DSENSOR_VIVO_MM308M2
endif

ifeq ($(CONFIG_SENSOR_LONTIUM_LT6911), y)
    KBUILD_DEFINES += -DSENSOR_LONTIUM_LT6911
endif
